Skip to content

Update lz4-java from 1.10.2 to 1.10.4#2778

Merged
chernser merged 1 commit intoClickHouse:mainfrom
pan3793:patch-1
Mar 5, 2026
Merged

Update lz4-java from 1.10.2 to 1.10.4#2778
chernser merged 1 commit intoClickHouse:mainfrom
pan3793:patch-1

Conversation

@pan3793
Copy link
Contributor

@pan3793 pan3793 commented Mar 5, 2026

Summary

ClickHouse Java Client switched to at.yawk.lz4:lz4-java for security reasons, but it unintentionally introduced performance regression.

https://github.com/yawkat/lz4-java/releases/tag/v1.10.4

These changes attempt to fix the native performance regression in 1.9+. They should have no functional or security impact.

See the benchmark reports in Apache Celeborn and Apache Spark projects

Checklist

  • Unit and integration tests covering the common scenarios were added
  • A human-readable description of the changes was provided to include in CHANGELOG
  • For significant changes, documentation in https://github.com/ClickHouse/clickhouse-docs was updated with further explanations or tutorials

Note

Low Risk
Low risk version bump, but it changes the underlying LZ4 implementation and could affect compression/decompression performance or behavior at runtime.

Overview
Updates the Maven-managed lz4-java dependency version to 1.10.4 (from 1.10.2) via the lz4.version property in pom.xml.

Written by Cursor Bugbot for commit e656506. This will update automatically on new commits. Configure here.

ClickHouse Java Client switched to `at.yawk.lz4:lz4-java` for security reasons, but it unintentionally introduced performance regression.

https://github.com/yawkat/lz4-java/releases/tag/v1.10.4

> These changes attempt to fix the native performance regression in 1.9+. They should have no functional or security impact.

See the benchmark reports in Apache Celeborn and Apache Spark projects

- CELEBORN-2218 / apache/celeborn#3555
- SPARK-55803 / apache/spark#54585
@pan3793 pan3793 requested review from chernser and mzitnik as code owners March 5, 2026 09:59
@chernser chernser merged commit dc263ed into ClickHouse:main Mar 5, 2026
18 of 21 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants